home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / makemap.z / makemap
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  64 lines

  1. MAKEMAP(8)                BSD System Manager's Manual               MAKEMAP(8)
  2.  
  3. NNAAMMEE
  4.      mmaakkeemmaapp - create database maps for sendmail
  5.  
  6. SSYYNNOOPPSSIISS
  7.      mmaakkeemmaapp [--NN] [--dd] [--ff] [--oo] [--rr] [--ss] [--vv] _m_a_p_t_y_p_e _m_a_p_n_a_m_e
  8.  
  9. DDEESSCCRRIIPPTTIIOONN
  10.      mmaakkeemmaapp creates the database maps used by the keyed map lookups in
  11.      sendmail(8).  It reads input from the standard input and outputs them to
  12.      the indicated _m_a_p_n_a_m_e.
  13.  
  14.      Depending on how it is compiled, mmaakkeemmaapp handles up to three different
  15.      database formats, selected using the _m_a_p_t_y_p_e parameter.  They may be
  16.  
  17.      dbm         DBM format maps.  This requires the ndbm(3) library.
  18.  
  19.      btree       B-Tree format maps.  This requires the new Berkeley DB li-
  20.                  brary.
  21.  
  22.      hash        Hash format maps.  This also requires the Berkeley DB li-
  23.                  brary.
  24.  
  25.      In all cases, mmaakkeemmaapp reads lines from the standard input consisting of
  26.      two words separated by white space.  The first is the database key, the
  27.      second is the value.  The value may contain ``%_n'' strings to indicated
  28.      parameter substitution.  Literal percents should be doubled (``%%'').
  29.      Blank lines and lines beginning with ``#'' are ignored.
  30.  
  31.    FFllaaggss
  32.  
  33.      --NN          Include the null byte that terminates strings in the map.
  34.                  This must match the -N flag in the sendmail.cf ``K'' line.
  35.  
  36.      --dd          Allow duplicate keys in the map.  This is only allowed on B-
  37.                  Tree format maps.  If two identical keys are read, they will
  38.                  both be inserted into the map.
  39.  
  40.      --ff          Normally all upper case letters in the key are folded to low-
  41.                  er case.  This flag disables that behaviour.  This is intend-
  42.                  ed to mesh with the -f flag in the KK line in sendmail.cf.
  43.                  The value is never case folded.
  44.  
  45.      --oo          Append to an old file.  This allows you to augment an exist-
  46.                  ing file.
  47.  
  48.      --rr          Allow replacement of existing keys.  Normally mmaakkeemmaapp com-
  49.                  plains if you repeat a key, and does not do the insert.
  50.  
  51.      --ss          Ignore safety checks on maps being created.  This includes
  52.                  checking for hard or symbolic links in world writable direc-
  53.                  tories.
  54.  
  55.      --vv          Verbosely print what it is doing.
  56.  
  57. SSEEEE AALLSSOO
  58.      sendmail(8)
  59.  
  60. HHIISSTTOORRYY
  61.      The mmaakkeemmaapp command appeared in 4.4BSD.
  62.  
  63. 4.4BSD                         November 16, 1992                             1
  64.